package scan.mapper;

import org.springframework.stereotype.Repository;
import scan.annotation.UsedDataSource;
import scan.po.AdressPO;

import java.util.List;

@Repository
public interface ShopMapper {
    @UsedDataSource(name = "write")
    public void insert(List<AdressPO> orderPOList);

    @UsedDataSource(name = "read")
    public List<AdressPO> find(AdressPO orderPOList);
}
